package cn.cdnsu.auth.service.impl;

import cn.cdnsu.auth.domain.Permission;
import cn.cdnsu.auth.mapper.PermissionMapper;
import cn.cdnsu.auth.service.IPermissionServiceI;
import cn.cdnsu.base.service.impl.IBaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImplI extends IBaseServiceImpl<Permission> implements IPermissionServiceI {
    @Autowired
    private PermissionMapper mapper;

    @Override
    public List<Permission> queryPermission() {
        return mapper.queryPermission();
    }
}
